﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Actuals.CoreDomain.Data
{
    public interface IDalEmployeeLeave
    {

        IList<IEmployeeLeave> GetEmployeeLeaves(DateTime fromDate, DateTime toDate);
       void AddEmployeeLeave(IEmployeeLeave employeeLeave);
        IList<IEmployeeLeave> GetEmployeeLeaves(int empId);
        bool DeleteEmployeeLeave(int empId);
        IList<IEmployeeLeave> GetEmployeeLeavesForTeam(int teamId);
        IList<IEmployeeLeave> GetEmployeeLeavesForTeam(int teamId, DateTime fromDate, DateTime toDate);
    }
}
